import mock from '@/mock/mock'
// Mock any GET request to /users
// arguments for reply are (status, data, headers)
mock.onGet('/users/open/logins').reply(200,
   {
    title:'成功提示',
    message:'mock模拟数据成功',
    status:true,
    statusCode:200,
    data: [
      { id: 1, name: 'John Smith' }
    ]
  }
);
mock.onPost('/users/open/logins').reply(200, {
  title:'成功提示',
  message:'mock模拟数据成功',
  status:true,
  statusCode:200,
  data: [
    { id: 1, name: 'John Smith' }
  ]
});
